team_a=zeros(3,2);
team_b=zeros(3,2);
x=0; y=0; z=0;
direction=1;

%shouldn't this manipulate team_b[1:]?
function [x y z]=oppomove()
x=x+direction;
if x=100,
	direction=-1*direction;
%{ if x<=0,
 	direction = 1;
 else if x>=100,
 	direction=-1;
 end
 %}
end

%{apparently, there is no such thing as "target"
actually there is , there is no such thing as "shoot"
shoot is a flag of target
%}
function [score] = score(team_a())
s1=scoremove();
s2=scoretarget();
% s3=scoreshoot();
score=s1+s2+s3;
end

function [move] = scoremove()
score=0;
distance = ();
end

function [target] = scoretarget()
end

function [shoot] = scoreshoot()

end
